Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Populate adtypes array #1862

Merged
merged 4 commits into from
Nov 28, 2017
Merged

Populate adtypes array #1862

merged 4 commits into from
Nov 28, 2017

Conversation

matthewlane
Copy link
Collaborator

@matthewlane matthewlane commented Nov 21, 2017

Type of change

  • Maintenance

Description of change

Currently only 'native' ad units set the ad_types array on /ut requests. This PR sets the ad_types array for every request made to /ut, based on the ad unit media type. If no media type is specified, defaults to banner

Also refactors the adapter to use the constants provided by src/mediaTypes rather than strings

@mkendall07 mkendall07 self-requested a review November 22, 2017 17:20
@mkendall07 mkendall07 self-assigned this Nov 22, 2017
@jsnellbaker jsnellbaker self-requested a review November 28, 2017 20:22
Copy link
Collaborator

@jsnellbaker jsnellbaker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jsnellbaker jsnellbaker merged commit 214ba19 into master Nov 28, 2017
@jsnellbaker jsnellbaker deleted the populate-adtypes-array branch November 28, 2017 20:23
jsnellbaker added a commit that referenced this pull request Nov 28, 2017
jsnellbaker added a commit that referenced this pull request Nov 28, 2017
* Revert "Postbid bugfix  (#1844)"

This reverts commit 2e7783a.

* Revert "Populate adtypes array (#1862)"

This reverts commit 214ba19.

* Revert "Pass bidderRequestId parameter in Adform adapter (#1888)"

This reverts commit 59800f4.

* Revert "Add Arteebee bidder adapter (#1849)"

This reverts commit 18fe42d.

* Revert "fix linting errors for trailing spaces (#1889)"

This reverts commit d41287a.

* Revert "Randomize pbjs global name when testing (#1787)"

This reverts commit f9cb0dd.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants